#ifndef _TEXTURE_H_
#define _TEXTURE_H_

#include <cassert>

#include <GL/glew.h>
#include "SDL.h"

namespace gfx {

class Texture {
	Texture();
	~Texture();

	// Get texture data from image
	void fromImage(SDL_Surface *img);

	// Bind texture
	void bind();

private:
	GLuint id;

};

}

#endif
